package com.question.common.constants;

import java.util.Arrays;
import java.util.List;

/**
 * 安全常量
 *
 * @author star
 * @since 2022/8/9
 */
public interface SecurityConstants {

    String FORBIDDEN = "权限不足,禁止访问!";

    String FAIL_AUTH = "认证失败!";

    String TOKEN_HEADER = "x-auth-token";

    String AUTHORIZATION = "Authorization";

    List<String> NOT_INTERFACE_AUTH = Arrays.asList("/auth/current/user", "/menu/route");

    String SUPER_ADMIN = "starAdmin";

}
